import { type RouteRecordRaw } from 'vue-router'
const Layout = () => import('@/layout/index.vue')

export default {
  path: '/',
  name: 'Home',
  component: Layout,
  meta: {
    icon: 'ep:home-filled',
    title: '首页',
    isHidden: true,
    requiresAuth: false,
    rank: 0
  },
  redirect: '/welcome',
  children: [
    {
      path: '/welcome',
      name: 'Welcome',
      component: () => import('@/views/welcome/index.vue'),
      meta: {
        icon: 'ep:house',
        title: '欢迎页',
        requiresAuth: false,
        keepAlive: true
      }
    }
  ]
} satisfies RouteConfigsTable
